package com.chengda.dashboard.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chengda.dashboard.entity.FactoryMachineInfo;
import com.chengda.dashboard.mapper.FactoryMachineInfoMapper;
import com.chengda.dashboard.service.FactoryMachineInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 工厂机台信息Service实现类
 */
@Service
public class FactoryMachineInfoServiceImpl extends ServiceImpl<FactoryMachineInfoMapper, FactoryMachineInfo> implements FactoryMachineInfoService {

    @Autowired
    private FactoryMachineInfoMapper factoryMachineInfoMapper;

    @Override
    public Integer countByType(Integer type) {
        return factoryMachineInfoMapper.countByType(type);
    }
}
